<div class="panel panel-primary panel-forum">
<div class="panel-heading">
    <h2 class="panel-title">
        <i class="fa fa-<?php echo $catParent['icon']?> fa-2x"></i>
        <a href="<?php echo $catParent['url']?>"><?php echo $catParent['name']?></a>
    </h2>
</div>
<div class="panel-body">
    <div class="row">
        <?php foreach($catParent['cats'] as $catChildData):?>
            <div class="col-lg-8 col-md-12 col-sm-12 col-xs-24 forum-item">
                <a class="link-icon" href="<?php echo $catChildData['url']?>">
                    <i class="fa fa-<?php echo $catChildData['icon']?> fa-2x pull-left fa-border fa-fw small"></i>
                </a>
                <h3><a href="<?php echo $catChildData['url']?>"><?php echo $catChildData['name']?></a></h3>
                <small class="text-muted">
                    <i class="fa fa-calendar-o" title="<?php echo $catChildData['post_count']?> chủ đề"></i> Chủ đề <span class="counter"><?php echo $catChildData['post_count']?></span>. 
                    <i class="fa fa-comments-o" title="<?php echo $catChildData['reply_count']?> trả lời"></i> Trả lời <span class="counter"><?php echo $catChildData['reply_count']?></span>.
                </small>
            </div>
            <?php endforeach?>
    </div>
</div>
</div>
